package com.starlight.flower_server.infrastructure;

/**
 * @Author yfy2001
 * @date 2023/4/9 15:53
 */
public enum RoleType {
    ROOT(1,"超级管理员"),
    NORMAL(2,"普通用户"),
    PRIMARY(3,"初级会员"),
    SENIOR(4,"高级会员"),
    BANNED(5,"被封禁的");

    private final Integer code;
    private final String message;

    RoleType(Integer code,String message) {
        this.code = code;
        this.message = message;
    }
    public Integer getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }
}
